package com.seabook.store.goodmgr.service;

public class GeneralTest {
    
    
    public static void main(String[] args){
        double d=24.5/0;
        float f=24.5F/0;
        //int g = 1/0;
        System.out.println("\"d=24.5/0;\" result:" + d);
        System.out.println("\"float f=24.5F/0;\" result:" + f);
        //System.out.println("\"int g=1/0;\" result:" + g);
        
        C c = new C();
        int a = C.a + 1;
    }

}

interface A{
    int a = 1;
    void cf();
}

interface B{
    //int a = 2;
}

class C implements A, B{

    public void cf() {
        // TODO Auto-generated method stub
        
    }
    
}
